import request from '@/utils/request'

// 查询贷款结构趋势－不良贷款列表
export function listBldklsb(query) {
  return request({
    url: '/buss/reportLsb/bldk',
    method: 'get',
    params: query
  })
}

// 查询贷款结构趋势－不良贷款详细
export function getBldklsb(sjrq) {
  return request({
    url: '/buss/bldklsb/' + sjrq,
    method: 'get'
  })
}

// 新增贷款结构趋势－不良贷款
export function addBldklsb(data) {
  return request({
    url: '/buss/bldklsb',
    method: 'post',
    data: data
  })
}

// 修改贷款结构趋势－不良贷款
export function updateBldklsb(data) {
  return request({
    url: '/buss/bldklsb',
    method: 'put',
    data: data
  })
}

// 删除贷款结构趋势－不良贷款
export function delBldklsb(sjrq) {
  return request({
    url: '/buss/bldklsb/' + sjrq,
    method: 'delete'
  })
}
